package cn.imnaer.service.rest.resquest.model;

import cn.imnaer.service.persistence.model.MyConcernFriends;

public class AgreeToAddFriends {
    public String userId;
    public String name;
    public String friendUserId;
    public String friendName;
    public boolean isAgree = true;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFriendName() {
        return friendName;
    }

    public void setFriendName(String friendName) {
        this.friendName = friendName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getFriendUserId() {
        return friendUserId;
    }

    public void setFriendUserId(String friendUserId) {
        this.friendUserId = friendUserId;
    }

    public boolean getIsAgree() {
        return isAgree;
    }

    public void setIsAgree(boolean isAgree) {
        this.isAgree = isAgree;
    }

    public MyConcernFriends transformMyConcernFrineds() {
        MyConcernFriends myConcernFriends = new MyConcernFriends();
        myConcernFriends.setUserId(userId);
        myConcernFriends.setName(name);
        myConcernFriends.setFriendUserId(friendUserId);
        myConcernFriends.setFriendName(friendName);
        myConcernFriends.setType(MyConcernFriends.TYPE_AGREE);
        return myConcernFriends;

    }
}
